package com.godtree.dto;

import cn.hutool.core.util.StrUtil;
import lombok.*;

/**
 * @author lisicheng
 * @date 2022-08-08
 */
@Getter
@EqualsAndHashCode(exclude = "baseName")
@ToString
public class RankDataNameDTO {

  private final String name;

  private final String baseName;

  public RankDataNameDTO(String name) {
    this.name = StrUtil.nullToEmpty(name).toUpperCase();
    this.baseName = name;
  }


}
